Make work on windows and posix at the same time. (sigh)
authorrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Fri, 30 Aug 2002 04:22:15 +0000 (04:22 +0000)
committerrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Fri, 30 Aug 2002 04:22:15 +0000 (04:22 +0000)
commit9dabb5ece3ef6ffd73b36e6143f7d823f8be01fa
tree2d67e140e9231ad4d5f92d28210490998db7fbd1
parent70cb55df4b54e3aeb087d63538f1382e0537b5f0
Make work on windows and posix at the same time.   (sigh)
Better test for EOF so we don't duplicate last waypoint in  a file.
Move all the POSIX terminit into body of that function.
Add file handlers for Windows.
Add "b" to all fopens to set binary mode for windows.
gpsbabel/magproto.c